<div class="admin_left actions">
	<h3 style="font-size:20px;">Manage more</h3>
	<ul>

		<li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('List Purchases'), array('action' => 'index'),array('class' => 'consistentButton2')); ?></li>
		<li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('List Items'), array('controller' => 'items', 'action' => 'index'),array('class' => 'consistentButton2')); ?> </li>
		<li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('New Item'), array('controller' => 'items', 'action' => 'add'),array('class' => 'consistentButton2')); ?> </li>
		<li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('List Suppliers'), array('controller' => 'suppliers', 'action' => 'index'),array('class' => 'consistentButton2')); ?> </li>
		<li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('New Supplier'), array('controller' => 'suppliers', 'action' => 'add'),array('class' => 'consistentButton2')); ?> </li>
	</ul>
</div>


<div class="admin_right purchases form">

	<div id=breadcrumbAdmin>
		<?php $this->Html->addCrumb('Purchases', '/Purchases/index'); ?>
    	<?php $this->Html->addCrumb('Add', '/Purchases/add', array('style'=> ('text-decoration:underline; color:#EB1E70;'))); ?>
    	<?php echo $this->Html->getCrumbs(' > ', array( 'text' => 'Items', 'url' => array('controller' => 'items', 'action' => 'index'), 'escape' => false)); ?>
	</div>

<?php echo $this->Form->create('Purchase'); ?>
	<fieldset>
		<legend><?php echo __('Add Purchase'); ?></legend>
	<?php
		echo $this->Form->input('item_id');
		echo $this->Form->input('supplier_id');
		echo $this->Form->input('price');
		echo $this->Form->input('date');
		echo $this->Form->input('note');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit')); ?>
</div>
